.box {
    margin: 20px 100px;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    min-height: 70vh;
    min-width: 460px;
    border: 1px solid #f1f1f1;
    /*overflow: hidden;*/

}

.left {
    text-align: center;
    color: #fff;
    width: 60px;
    min-width: 60px;
    background: #303133;
    padding-top: 20px;
}

.hede {
    img {
        width: 40px;
        height: 40px;
        border-radius: 2px;
    }
}

.iconfont {
    font-size: 22px;
}

.tog {
    div {
        margin-top: 16px;
        padding: 4px;
    }
}

.center {
    width: 250px;
    min-width: 250px;
    background: #e2e2e2;
    padding: 20px 0 0;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;

    .lists {
        flex: 1;
        max-height: 700px;
        overflow: auto;

        &:-webkit-scrollbar {
            display: none;
        }

        box-sizing: border-box;
        /*height: 100%;*/
        background: #f2f2f2;

        .list {
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: flex;
            padding: 10px;

            &:hover,
            &.at {
                background: #ddd;
            }


            .title {
                text-align: left;
                width: 100%;
                font-size: 14px;
                margin-left: 10px;
            }

            .time {
                font-size: 10px;
                color: #aaa;
            }

            .info {
                margin-top: 4px;
                font-size: 12px;
                color: #999;
            }
        }
    }
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.input {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    padding: 0 10px 10px;

    .plus {
        margin-left: 10px;
        background: #f1f1f1;
        text-align: center;
        padding: 3px 4px;
        border-radius: 4px;
    }
}

.right {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;

    .title {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f1f1;
        background: #fff;
        /*align-self: flex-start;*/
        position: absolute;
        box-sizing: border-box;
        top: 26px;
        width: 100%;
        z-index: 2;
        height: 32px;
        /*align-content: flex-start;*/
    }

    flex: 1;
    min-width: 400px;
    padding-top: 20px;

    .top {
        margin-top: 30px;
        overflow: auto;
        max-height: 500px;
    }

    .bottom {
        padding-left: 20px;
        padding-right: 20px;
        border-top: 1px solid #f1f1f1;
        text-align: right;
        /*align-items: flex-end;*/
        color: #333;

        .iconfont {
            padding: 8px;
        }

        button {
            margin-top: 20px;
            margin-bottom: 20px;
        }
    }
}

.textLists {
    padding: 30px;
    /*background: #efefef;*/
}

.textList {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    /*flex-direction: column;*/
    text-align: left;
    margin-top: 15px;

    /*align-items:center;*/
    .text {
        margin-left: 10px;
        margin-right: 10px;
        max-width: 80%;
        background: #fff;
        border: 1px solid #f1f1f1;
        padding: 6px;
        line-height: 1.5;
        /*min-height: 40px;*/
        box-sizing: border-box;
        font-size: 16px;
        border-radius: 4px;
        position: relative;

        .el-icon-caret-left {
            position: absolute;
            top: 10px;
            left: -10px;
            color: #f1f1f1;
        }
    }
}

.textList.this {
    justify-content: flex-end;

    .text {
        order: -1;

        .el-icon-caret-right {
            position: absolute;
            left: auto;
            top: 10px;
            right: -10px;
            color: #f1f1f1;
        }
    }
}

.videoBox {
    position: fixed;
    z-index: 99;
    /*right: 0;*/
    left: 420px;
    top:80px;
    .hangup {
        display: none;
        opacity: .7;
        position: absolute;
        right:10px;
        top: 10px;
    }
    &:hover .hangup {
        display: inline-block;
    }
}

.rtcA {}

.rtcB {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 100px;

    video {
        width: 100%;
    }
}